﻿<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0"
				xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
				xmlns:peg="http://schemas.zxteam.net/2014/zxlang/peg"
				xmlns:msxsl="urn:schemas-microsoft-com:xslt"
				exclude-result-prefixes="msxsl peg">
	<xsl:output method="xml" indent="yes"/>

	<xsl:template match="/">
		<xsl:variable name="annotationNamespace" select="/peg:grammar/@annotationNamespace"/>

		<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
			<PropertyGroup>
				<Nemerle Condition=" '$(Nemerle)' == '' ">C:\Users\anurinm\Work\zxlang\Lexer\CSharp\3rdParty\Nemerle\</Nemerle>
				<Configuration Condition=" '$(Configuration)' == '' ">Release</Configuration>
				<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
				<ProjectGuid>{4FA4B55F-EAFF-4494-92FC-0809A6D973B5}</ProjectGuid>
				<OutputType>Library</OutputType>
				<AppDesignerFolder>Properties</AppDesignerFolder>
				<RootNamespace><xsl:value-of select="$annotationNamespace"/>.Parser</RootNamespace>
				<AssemblyName><xsl:value-of select="$annotationNamespace"/>.Parser</AssemblyName>
				<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
				<NoStdLib>True</NoStdLib>
				<PlatformTarget>AnyCPU</PlatformTarget>
				<OutputPath>bin\</OutputPath>
				<DebugSymbols>false</DebugSymbols>
				<DebugType>None</DebugType>
				<Optimize>False</Optimize>
				<DefineConstants>TRACE</DefineConstants>
			</PropertyGroup>
			<Import Project="$(Nemerle)Nemerle.MSBuild.targets" />
			<ItemGroup>
				<Reference Include="mscorlib" />
				<Reference Include="Nemerle.Macros">
					<HintPath>$(Nemerle)Nemerle.Macros.dll</HintPath>
					<Private>False</Private>
				</Reference>
				<Reference Include="Nemerle.Peg">
					<HintPath>$(Nemerle)Nemerle.Peg.dll</HintPath>
					<Private>False</Private>
				</Reference>
				<Reference Include="Nemerle.Peg.Macros">
					<HintPath>$(Nemerle)Nemerle.Peg.Macros.dll</HintPath>
					<Private>False</Private>
				</Reference>
				<Reference Include="System" />
				<Reference Include="System.Data" />
				<Reference Include="System.Xml" />
				<Reference Include="Nemerle">
					<HintPath>$(Nemerle)Nemerle.dll</HintPath>
					<Private>False</Private>
				</Reference>
			</ItemGroup>
			<ItemGroup>
				<ProjectReference Include="C:\Users\anurinm\Work\zxlang\Lexer\CSharp\Lexer.Common\Lexer.Common.csproj">
					<Project>{288B2AA9-980F-4BEC-B900-F3AB779FA45B}</Project>
					<Name>Lexer.Common</Name>
					<Private>False</Private>
				</ProjectReference>
			</ItemGroup>
			<ItemGroup>
				<Compile Include="grammar.n" />
				<Compile Include="implementation.n" />
			</ItemGroup>

			<Target Name="BeforeBuild">
			</Target>
		</Project>
	</xsl:template>
</xsl:stylesheet>
